<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
  <style>
    table,th,td{
      border: 1px solid black;
      border-collapse: collapse;
    }
    th,td{
      padding: 6px;
      color: blue;
    }
  </style>
</head>
<body>
  <table>
    <caption>考试成绩表</caption>
    <thead>
      <tr>
        <th>姓名</th>
        <th>语文</th>
        <th>英语</th>
        <th>数学</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td>小明</td>
        <td>80</td>
        <td>80</td>
        <td>80</td>
      </tr>
      <tr>
        <td>小明</td>
        <td>80</td>
        <td>80</td>
        <td>80</td>
      </tr>
      <tr>
        <td>小明</td>
        <td>80</td>
        <td>80</td>
        <td>80</td>
      </tr>
    </tbody>
  </table>
</body>
</html>